﻿using AnlianCommon.Common.DTO;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace SheepCommon.API.SheepCommands.PregnancyTestes
{
    public class PregnancyTestUpdateCommand : IRequest<Result>
    {
        /// <summary>
        /// 妊检编号主键
        /// </summary>
        public int PregnancyTestId { get; set; }
        /// <summary>
        /// 妊检日期
        /// </summary>
        public DateTime? PregnancyTestDate { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public string? EarBugles { get; set; }
        /// <summary>
        /// 妊检结果
        /// </summary>
        public string? PregnancyTestResults { get; set; }
        /// <summary>
        /// 妊检方式
        /// </summary>
        public string? PregnancyTestWays { get; set; }
        /// <summary>
        /// 同胎数
        /// </summary>
        public int? NumberParities { get; set; }
        /// <summary>
        /// 妊娠天数
        /// </summary>
        public int? PregnancyDays { get; set; }
        /// <summary>
        /// 当前栋舍
        /// </summary>
        public string? CurrentBuildings { get; set; }
        /// <summary>
        /// 当前栏位
        /// </summary>
        public string? CurrentColumns { get; set; }
        /// <summary>
        /// 转入栋舍
        /// </summary>
        public int CottageId { get; set; }
        /// <summary>
        /// 转入栏位
        /// </summary>
        public int FieldId { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Responsible { get; set; }
        /// <summary>
        /// 单据号 采用雪花ID
        /// </summary>
        public string? DocumentNo { get; set; }
    }
}
